package com.example.resturant.service;

import com.example.resturant.dto.SubmitOrderRequestDTO;
import com.example.resturant.model.Comment;
import com.example.resturant.vo.OrderVO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface OrderService {

    Page<OrderVO> listOrders(Integer userId, Pageable page);

    void submit(Integer userId, SubmitOrderRequestDTO request);

    void comment(Comment request);
}
